home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Applications / Telnet Server 1.0 / utils.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-14  |  526 b   |  27 lines  |  [TEXT/KAHL]

  1. /*
  2. Copyright© 1994 Mikhail Fridberg. Part of this code is copyrighted by Steve Falkenburg
  3.  
  4. Telnet-based talk server/client
  5.     
  6. connection management is done through the use of Operating System queues to simplify tracking
  7. and usage.
  8. */
  9.  
  10. #include <CommResources.h>
  11. #include <Terminals.h>
  12. #include <Connections.h>
  13.  
  14. #include "const.h"
  15. #include "globals.h"
  16. #include "utils.h"
  17.  
  18.  
  19. /* called in response to errors.  we just do a debugstr here */
  20.  
  21. void DoError(OSErr err)
  22. {
  23.     Str255 errStr;
  24.     
  25.     NumToString(err,errStr);
  26.     DebugStr(errStr);
  27. }